package com.example.wechathook.hook;

import static de.robv.android.xposed.XposedBridge.log;

import java.lang.reflect.Member;

import com.example.wechathook.util.WechatUtil;

import de.robv.android.xposed.XC_MethodHook;

public class DebugHook extends XC_MethodHook {

	@Override
	protected void beforeHookedMethod(MethodHookParam param) throws Throwable {
		log("DebugHooker start:" + WechatUtil.getTime());
		Object obj = param.thisObject;
		log("class:" + obj.getClass().getName());
		Member member = param.method;
		log("method:" + member.getName());
		log("args:" + param.args);
		log("DebugHooker end:" + WechatUtil.getTime());
	}

}
